package by.myteam.gonki.states.mainstate;


public enum EGameStates {
	
	MENU(new MenuState()),
	SELECTCAR(new SelectCarState()),
	PAUSE(new PauseState()),
	GAMEOVER(new GameOverState()),
	PLAY(new PlayState()),
	OPTION(new OptionState());
	
	private IGameState state;
	
	private EGameStates(IGameState state){
		this.state = state;
	}
	public IGameState getState() {
		return state;
	}

	
}
